class_name StatsUI
extends HBoxContainer

@export var block: HBoxContainer
@export var block_label: Label
@export var health: HBoxContainer
@export var health_label: Label

func update_stats(stats: ) -> void:
	block_label.text = str(stats.block)
	health_label.text = str(stats.health)
	
	block.visible = stats.block > 0
	health.visible = stats.health > 0
